import Vue from 'vue'
import Vuex from 'vuex'
import axios from 'axios'
// js-cookie
import Cookie from 'js-cookie'
Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        user: '',
        username: Cookie.get('username'),
        menu: {
            state: false
        },
         // 头部
         header: {
            title: ''
        },
    }
});